import request from '@/utils/request'

export function getGroupList(params) {
  return request({
    url: '/cloudcut-api/group/list',
    method: 'get',
    params
  })
}

export function addGroup(data) {
  return request({
    url: '/cloudcut-api/group/add',
    method: 'post',
    data
  })
}

export function putIntoGroup(data) {
  return request({
    url: '/cloudcut-api/group/move',
    method: 'post',
    data
  })
}
export function changeMemo(data) {
  return request({
    url: '/cloudcut-api/group/edit',
    method: 'post',
    data
  })
}
